home *** CD-ROM | disk | FTP | other *** search
/ Champak 28 / Volume 28 - JOGO DISK .iso / Games / boston_tea_party.swf / scripts / DefineButton2_75 / BUTTONCONDACTION on(press).as next >
Text File  |  2006-09-25  |  294b  |  13 lines

  1. on(press){
  2.    _root.currentlyDragging = this._name;
  3.    target = this._droptarget;
  4.    tgt = target.substr(3,2);
  5.    clp = eval("/:currentlydragging").substr(2,2);
  6.    if(iAmInPlace == true)
  7.    {
  8.       _root.completed -= 1;
  9.    }
  10.    iAmInPlace = false;
  11.    startDrag("",1,0,0,800,600);
  12. }
  13.